package com.xian.im.modules.command.cmd;

import com.xian.im.common.constant.CommandConstant;
import com.xian.im.common.proto.MsgRequest;
import com.xian.im.modules.command.Command;
import lombok.extern.slf4j.Slf4j;

/**
 * @program: xian-im-server
 * @description:
 * @author: liru.xian
 * @create: 2021-01-27 09:26
 **/
@Slf4j
public class CustomizeHandlerCommand implements Command {

    /**
     * 执行
     *
     * @param request
     * @param ctxId
     */
    @Override
    public void exec(MsgRequest request, String ctxId) {
        log.info("自定义消息");
    }

    /**
     * 获取命令
     *
     * @return
     */
    @Override
    public Integer getCmd() {
        return CommandConstant.CUSTOMIZE;
    }
}
